package com.hxzy.projectssmplus.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Getter
@Setter
public class SysConfigDTO {

    private String configName;

    private String configKey;

    private String configType;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Map<String,Object> map;

    public Map getMap() {
        if(this.map==null){
            this.map=new HashMap<String,Object>();
        }
        return map;
    }
}
